package com.yuanfeng.userms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yuanfeng.commoms.dto.userms.PlusEquityDTO;
import com.yuanfeng.commoms.util.ResponseResult;
import com.yuanfeng.userms.entity.UserPlusEquityEntity;

import java.util.List;
import java.util.Map;

/**
 *
 */
public interface UserPlusEquityService extends IService<UserPlusEquityEntity> {

    /**
     * 查询会员权益
     *
     * @param id
     * @return
     */
    ResponseResult selectPlusEquitys(List<Integer> id);

    /**
     * 添加会员权益
     * @param dto
     * @return
     */

    ResponseResult insertPlusEquity(PlusEquityDTO dto);


    /**
     *删除会员权益
     * @param dto
     * @return
     */
     ResponseResult deletePlusEquity(PlusEquityDTO dto);


    /**
     *更新会员权益状态
     * @param dto
     * @return
     */

    ResponseResult updatePlusEquity(PlusEquityDTO dto);

    /**
     *查询会员权益
     * @param map
     * @return
     */
    ResponseResult selectPlusEquity(Map<String, Object> map);
}
